package com.skywolf.chem.common.excel;

/**

 * @date: 2016-02-13 15:06
 */
public class CellDefine {
    private String cellName;
    private String cellDescr;
    private boolean required;
    private String format;
    private String comment;
    private  String[] select; //选择列表

    public CellDefine() {
    }

    public CellDefine(String cellName, String cellDescr) {

        this.cellName = cellName;
        this.cellDescr = cellDescr;
    }

    public CellDefine(String cellName, boolean required) {
        this.cellName = cellName;
        this.required = required;
    }

    public CellDefine(String cellName, String cellDescr,String comment) {
        this.comment = comment;
        this.cellName = cellName;
        this.cellDescr = cellDescr;
    }

    public String getCellName() {
        return cellName;
    }

    public void setCellName(String cellName) {
        this.cellName = cellName;
    }

    public String getCellDescr() {
        return cellDescr;
    }

    public void setCellDescr(String cellDescr) {
        this.cellDescr = cellDescr;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public String getFormat() {
        return format;
    }

    public CellDefine setFormat(String format) {
        this.format = format;
        return this;
    }

    public String[] getSelect() {
        return select;
    }

    public CellDefine setSelect(String[] select) {
        this.select = select;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
